@echo off

set GOARCH=arm64
set GOOS=linux

go mod tidy
go build -v -a -ldflags="-s -w -buildid="  -trimpath -o stat_sphere_arm64 .

set GOARCH=amd64
set GOOS=linux

go mod tidy
go build -v -a -ldflags="-s -w -buildid="  -trimpath -o stat_sphere_amd64 .

REM go build -a 可以强制编译